<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>登录</title>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" th:href="@{/athena-security/login.css}">
    <script type="text/javascript" th:inline="javascript">
     /*<![CDATA[*/
             ctxPath = /*[[@{/}]]*/ '';
       /*]]>*/
    </script>
    <script th:src="@{/athena-security/jquery.min.js}"></script>
    <script th:src="@{/athena-security/login.js}"></script>
</head>
<body>
<div class="ui-login-main">
    <form th:action="@{/securityLogin}" method="post">
        <input type="hidden" name="redirect_url" th:value="${redirect_url}">
        <div class="ui-content-box">
            <div class="ui-login-box">
                <div class="ui-from-box">
                    <div class="ui-from-item ui-from-item-title">
                        <span class="ui-title" th:text="${loginTitle}"></span>
                    </div>
                    <div class="ui-from-item">
                        <input class="ui-input" name="username" placeholder="请输入账号"/>
                    </div>
                    <div class="ui-from-item">
                        <input class="ui-input" name="password" type="password" placeholder="请输入密码"/>
                    </div>
                    <div class="ui-from-item ui-from-item-code">
                        <div class="ui-from-item-inner">
                            <input class="ui-input ui-input-code" name="code" placeholder="验证码"/>
                        </div>
                        <div class="ui-from-item-inner img">
                            <input type="hidden" name="captchaSeqId"/>
                            <img id="captchaImg"/>
                        </div>
                    </div>
                    <div class="ui-from-item">
                        <button type="submit" class="ui-input ui-btn ui-login-btn">登录</button>
                    </div>
                    <div class="ui-from-item">
                        <span class="ui-error" th:text="${errorMsg}"></span>
                    </div>
                </div>
            </div>
        </div>
    </form>
    <!-- 版权信息 -->
    <div class="ui-footer">
        <span th:text="${copyright}"></span>
    </div>
</div>
</body>
</html>
